import argparse
from phen2gene import run_phen2gene


def main(args):
    print(run_phen2gene(args.knowledge_base_path, args.hpos, gene_symbols=['CHD7', 'TMEM14C']))


if __name__ == '__main__':
    parser = argparse.ArgumentParser('Phen2Gene')
    parser.add_argument('--knowledge_base_path', '-d', help='knowledge base path')
    parser.add_argument('--hpos', '-i', type=str, nargs='+', help='hpo list')
    parser.set_defaults(func=main)
    args = parser.parse_args()
    args.func(args)
